package com.hypo.business.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInfoVo {
    //用户账号
    private String userName;
    //密码
    private String password;
    //用户昵称
    private String nickName;
    //头像
    private String avatar;
    //用户性别（0女 1男 2未知）
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer gender;
    //电话
    private String phone;
    //账号状态（0禁用 1 启用）
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer status;
}
